package cn.wolfcode.shop.cloud.mq;

public class MQConstans {
    //topic 主题
    public static final String CREATE_ORDER = "CREATE_ORDER";


    public static final String CREATE_ORDER_GROUP = "CREATE_ORDER_GROUP";//消费者组名
    public static final String CREATE_ORDER_TAG = "CREATE_ORDER_TAG";//消费标签
    public static final String CREATE_ORDER_DEST = CREATE_ORDER+":"+CREATE_ORDER_TAG;//目的地

    public static final String CREATE_SUCCESS_GROUP = "CREATE_SUCCESS_GROUP";
    public static final String CREATE_SUCCESS_TAG = "CREATE_SUCCESS_TAG";
    public static final String CREATE_SUCCESS_DEST = CREATE_ORDER+":"+CREATE_SUCCESS_TAG;

    public static final String CREATE_DELAY_GROUP = "CREATE_DELAY_GROUP";
    public static final String CREATE_DELAY_TAG = "CREATE_DELAY_TAG";
    public static final String CREATE_DELAY_DEST = CREATE_ORDER+":"+CREATE_DELAY_TAG;

    public static final String CREATE_NOTIFY_GROUP = "CREATE_NOTIFY_GROUP";
    public static final String CREATE_NOTIFY_TAG = "CREATE_NOTIFY_TAG";
    public static final String CREATE_NOTIFY_DEST = CREATE_ORDER+":"+CREATE_NOTIFY_TAG;

    public static final String CREATE_FAIL_GROUP = "CREATE_FAIL_GROUP";
    public static final String CREATE_FAIL_TAG = "CREATE_FAIL_TAG";
    public static final String CREATE_FAIL_DEST = CREATE_ORDER+":"+CREATE_FAIL_TAG;
}
